package com.ruoyi.system.domain;

import com.alibaba.fastjson2.JSONArray;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 商品发布信息对象 sys_goods
 * 
 * @author ruoyi
 * @date 2025-04-21
 */
@ApiModel(description = "商品发布信息对象")
public class SysGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    @ApiModelProperty(value = "商品名称",required = true)
    private String goodsName;

    /** 分类id */
    @Excel(name = "分类id")
    @ApiModelProperty(value = "分类id",required = true)
    private String categoryId;

    /** 商品图片 */
    @Excel(name = "商品图片")
    @ApiModelProperty(value = "商品图片",required = true)
    private String goodsPhoto;

    /** 商品编码 */
    @Excel(name = "商品编码")
    @ApiModelProperty(value = "商品编码",required = true)
    private String goodsCode;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty(value = "排序",required = true)
    private String sort;

    /** 是否删除 */
    @Excel(name = "是否删除")
    @ApiModelProperty(value = "是否删除")
    private String status;

    /** 商品标签 */
    @Excel(name = "商品标签")
    @ApiModelProperty(value = "商品标签")
    private String goodsLabel;

    /** 商品标签列表 */
    @ApiModelProperty(value = "商品标签列表",required = true)
    private List<String> goodsLabelList;

    /** 商品副标题 */
    @Excel(name = "商品副标题")
    @ApiModelProperty(value = "商品副标题",required = true)
    private String goodsSubtitle;

    /** 商品规格 */
    @Excel(name = "商品规格")
    @ApiModelProperty(value = "商品规格",required = true)
    private String goodsSpec;

    /** 商品规格 */
    @Excel(name = "商品规格详情")
    @ApiModelProperty(value = "商品规格详情",required = true)
    private String goodsSpecInfo;

    /** 商品规格 */
    @Excel(name = "商品规格")
    @ApiModelProperty(value = "商品规格",required = true)
    private List<SysGoodsSpec> goodsSpecList;

    /** 零售价 */
    @Excel(name = "零售价")
    @ApiModelProperty(value = "零售价",required = true)
    private String retailPrice;

    /** 会员价 */
    @Excel(name = "会员价")
    @ApiModelProperty(value = "会员价",required = true)
    private String memberMoney;

    /** 分佣比例 */
    @Excel(name = "分佣比例")
    @ApiModelProperty(value = "分佣比例",required = true)
    private String commission;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String goodsDescribe;

    @ApiModelProperty(value = "商品详情")
    private List<String> raiGoods;

    private String updateByName;

    private String stockNum;

    public List<String> getGoodsLabelList() {
        return goodsLabelList;
    }

    public void setGoodsLabelList(List<String> goodsLabelList) {
        this.goodsLabelList = goodsLabelList;
    }

    public List<SysGoodsSpec> getGoodsSpecList() {
        return goodsSpecList;
    }

    public void setGoodsSpecList(List<SysGoodsSpec> goodsSpecList) {
        this.goodsSpecList = goodsSpecList;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }

    public void setCategoryId(String categoryId) 
    {
        this.categoryId = categoryId;
    }

    public String getCategoryId() 
    {
        return categoryId;
    }

    public void setGoodsPhoto(String goodsPhoto) 
    {
        this.goodsPhoto = goodsPhoto;
    }

    public String getGoodsPhoto() 
    {
        return goodsPhoto;
    }

    public void setGoodsCode(String goodsCode) 
    {
        this.goodsCode = goodsCode;
    }

    public String getGoodsCode() 
    {
        return goodsCode;
    }

    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getGoodsLabel() {
        return goodsLabel;
    }

    public void setGoodsLabel(String goodsLabel) {
        this.goodsLabel = goodsLabel;
    }

    public String getGoodsSubtitle() {
        return goodsSubtitle;
    }

    public void setGoodsSubtitle(String goodsSubtitle) {
        this.goodsSubtitle = goodsSubtitle;
    }

    public String getGoodsSpec() {
        return goodsSpec;
    }

    public void setGoodsSpec(String goodsSpec) {
        this.goodsSpec = goodsSpec;
    }

    public String getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(String retailPrice) {
        this.retailPrice = retailPrice;
    }

    public String getMemberMoney() {
        return memberMoney;
    }

    public void setMemberMoney(String memberMoney) {
        this.memberMoney = memberMoney;
    }

    public String getCommission() {
        return commission;
    }

    public void setCommission(String commission) {
        this.commission = commission;
    }

    public String getGoodsDescribe() {
        return goodsDescribe;
    }

    public void setGoodsDescribe(String goodsDescribe) {
        this.goodsDescribe = goodsDescribe;
    }

    public List<String> getRaiGoods() {
        return raiGoods;
    }

    public void setRaiGoods(List<String> raiGoods) {
        this.raiGoods = raiGoods;
    }

    public String getUpdateByName() {
        return updateByName;
    }

    public void setUpdateByName(String updateByName) {
        this.updateByName = updateByName;
    }

    public String getStockNum() {
        return stockNum;
    }

    public void setStockNum(String stockNum) {
        this.stockNum = stockNum;
    }

    public String getGoodsSpecInfo() {
        return goodsSpecInfo;
    }

    public void setGoodsSpecInfo(String goodsSpecInfo) {
        this.goodsSpecInfo = goodsSpecInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsName", getGoodsName())
            .append("categoryId", getCategoryId())
            .append("goodsPhoto", getGoodsPhoto())
            .append("goodsCode", getGoodsCode())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
